package com.hoow.shakoow.shake.adManager

object AdsIdUtil {

//    测试
//    const val NATIVE_AD_UNIT_ID = "ca-app-pub-3940256099942544/2247696110"
//    const val REWARD_AD_UNIT_ID = "ca-app-pub-3940256099942544/5224354917"

    //    正式
    const val NATIVE_AD_UNIT_ID = "ca-app-pub-7210412947896074/6448949159"
    const val REWARD_AD_UNIT_ID = "ca-app-pub-7210412947896074/7284406723"

    /**
     * 本地广告id
     */
    var mNatUnid: String = ""

    /**
     * 奖励广告id
     */
    var mRewUnid: String = ""

    /**
     * 本地广告id
     */
    fun getNatUnitId(): String {
        if (mNatUnid.isBlank()) {
            mNatUnid = NATIVE_AD_UNIT_ID
        }
        return mNatUnid
    }

    /**
     * 奖励广告id
     */
    fun getRewUnitId(): String {
        if (mRewUnid.isBlank()) {
            mRewUnid = REWARD_AD_UNIT_ID
        }
        return mRewUnid
    }
}